package handler

import (
	"6-17yk/client/client"
	"6-17yk/client/response"
	"6-17yk/common/proto/user"
	"github.com/gin-gonic/gin"
)

func UserDoctorList(c *gin.Context) {
	list, err := client.UserDoctorList(c, &user.UserDoctorListReq{})
	if err != nil {
		response.ResponseError(c, err.Error())
		return
	}
	response.ResponseSuccess(c, list)
}
